/**
 * This is a class to display the gameover
 */
import java.awt.Color;
import javax.swing.JFrame;

/**
 * @author Master
 * @version $Revision: 1.0 $
 */
public class GameOverScreen {
	/**
	 * Method toString.
	
	 * @return String */
	@Override
	public String toString() {
		return "GameOverScreen []";
	}
	
	/**
	 * Field frame.
	 */
	public static JFrame Frame=null;
	
	/**
	 * Field flag.
	 */
	public static boolean Flag=false;
	
	/**
	 * Field screenPanel.
	 */
	public static GameOverPanel ScreenPanel=null;
	
	/**
	 * Method start.
	 */
	public static void start(){
		ConfigurationScreen.MyFrame.getContentPane().removeAll();
		ScreenPanel = new GameOverPanel();
		ConfigurationScreen.MyFrame.getContentPane().setBackground(Color.blue);
		ConfigurationScreen.MyFrame.setContentPane(ScreenPanel);
		ConfigurationScreen.MyFrame.pack();
		ConfigurationScreen.MyFrame.setVisible(true);
	}
}
